

using System;
using System.Runtime.Serialization;

namespace PolePosition.v3.EntityLibrary
{
	// Class-level comments are in VendorVisitMeterEntity.cs
    /// <summary>
    /// 
    /// </summary>
	/// <remarks>Initial Generation Date: Saturday, February 07, 2009</remarks>
	public sealed partial class VendorVisitMeterEntity
	{
		
	#region " Collections "

	// FK_tb_Vendor_Visit_Meters_tb_Meters_TopTypes : False
	// FK_tb_Vendor_Visit_Meters_tb_Utility_Asset_Meters : False
	// FK_tb_Vendor_Visit_Meters_tb_Vendor_Projects : False
	// FK_tb_Vendor_Visit_Meters_tb_Vendor_Visit_Type : False
	// FK_tb_Vendor_Visit_Meters_Images_tb_Vendor_Visit_Meters : True

	#region Collection Property: VendorVisitMetersImageCollection
	
		/// <summary>
		/// Stores a collection of VendorVisitMetersImage Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorVisitMetersImageEntity> prop_VendorVisitMetersImageCollection;
		
		/// <summary>
        /// Gets or Sets the collection of VendorVisitMetersImage Entities associated with this VendorVisitMeterEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the VendorVisitMetersImages table
		/// that are associated with the row in the VendorVisitMeters table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Vendor_Visit_Meters.Vendor_Visit_MeterId) to
		/// many (tb_Vendor_Visit_Meters_Images.Vendor_Visit_MeterFK)", where:</para><para>
		/// PrimaryTable = tb_Vendor_Visit_Meters<para></para>
		/// PrimaryTableKey = Vendor_Visit_MeterId<para></para>
		/// ForeignTable = tb_Vendor_Visit_Meters_Images<para></para>
		/// ForeignTableKey = Vendor_Visit_MeterFK</para>
		/// <para>The Entities are used to obtain additional or supporting information about VendorVisitMeterEntity.
		/// Since the Entities can be of any type, this gives the VendorVisitMeterEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.VendorVisitMetersImageEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorVisitMetersImageEntity>   VendorVisitMetersImageCollection
		{
			get {return prop_VendorVisitMetersImageCollection;}
			set {prop_VendorVisitMetersImageCollection = value;}
		}

	#endregion
	
	#endregion

	}
}
